package pl.krzosekm.vehicleregister.backup;
import info.clearthought.layout.TableLayout;

import java.awt.Dimension;

import javax.swing.BorderFactory;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSeparator;
import javax.swing.JTextArea;
import javax.swing.WindowConstants;

import org.jdesktop.application.Application;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class DetailsPanel extends JPanel {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5765688738652184732L;
	private JLabel jLabel2;
	private JLabel jLabel3;
	private JLabel jLabel4;
	private JLabel jLabel5;
	private JTextArea jTextArea1;
	private JScrollPane jScrollPane1;
	private JLabel jLabel11;
	private JLabel jLabel10;
	private JLabel jLabel9;
	private JLabel jLabel8;
	private JLabel jLabel7;
	private JLabel jLabel6;
	private JSeparator jSeparator1;
	private JLabel jLabel1;

	/**
	* Auto-generated main method to display this 
	* JPanel inside a new JFrame.
	*/
	public static void main(String[] args) {
		JFrame frame = new JFrame();
		frame.getContentPane().add(new DetailsPanel());
		frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
		frame.pack();
		frame.setVisible(true);
	}
	
	public DetailsPanel() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			this.setPreferredSize(new Dimension(195, 548));
			TableLayout thisLayout = new TableLayout(new double[][] {{53.0, 6.0, TableLayout.FILL}, {42.0, 18.0, 32.0, 31.0, 36.0, 36.0, TableLayout.FILL, TableLayout.FILL}});
			thisLayout.setHGap(5);
			thisLayout.setVGap(5);
			this.setLayout(thisLayout);
			this.setBorder(BorderFactory.createTitledBorder("Szczegóły"));
			{
				jLabel1 = new JLabel();
				this.add(jLabel1, "0, 0");
				jLabel1.setName("jLabel1");
			}
			{
				jLabel2 = new JLabel();
				this.add(jLabel2, "2, 0");
				jLabel2.setName("jLabel2");
			}
			{
				jLabel3 = new JLabel();
				this.add(jLabel3, "0, 1");
				jLabel3.setName("jLabel3");
			}
			{
				jLabel4 = new JLabel();
				this.add(jLabel4, "2, 1");
				jLabel4.setName("jLabel4");
			}
			{
				jSeparator1 = new JSeparator();
				this.add(jSeparator1, "0, 3, 2, 3");
			}
			{
				jLabel5 = new JLabel();
				this.add(jLabel5, "0, 3");
				jLabel5.setName("jLabel5");
			}
			{
				jLabel6 = new JLabel();
				this.add(jLabel6, "0, 2");
				jLabel6.setName("jLabel6");
			}
			{
				jLabel7 = new JLabel();
				this.add(jLabel7, "2, 2");
				jLabel7.setName("jLabel7");
			}
			{
				jLabel8 = new JLabel();
				this.add(jLabel8, "2, 3");
				jLabel8.setName("jLabel8");
			}
			{
				jLabel9 = new JLabel();
				this.add(jLabel9, "0, 4");
				jLabel9.setName("jLabel9");
			}
			{
				jLabel10 = new JLabel();
				this.add(jLabel10, "2, 4");
				jLabel10.setName("jLabel10");
			}
			{
				jLabel11 = new JLabel();
				this.add(jLabel11, "0, 5");
				jLabel11.setName("jLabel11");
			}
			{
				jScrollPane1 = new JScrollPane();
				this.add(jScrollPane1, "0, 6, 2, 7");
				{
					jTextArea1 = new JTextArea();
					jScrollPane1.setViewportView(jTextArea1);
					jTextArea1.setName("jTextArea1");
					jTextArea1.setPreferredSize(new java.awt.Dimension(182, 297));
				}
			}
			Application.getInstance().getContext().getResourceMap(getClass()).injectComponents(this);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
